<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
         <button type="button" onclick="B();">跳转到C页面</button>
         <button type="button" onclick="doforward();">前进</button>
         <button type="button" onclick="doBack();">后退</button>
         <button type="button" onclick="reloads()">刷新</button>
    </body>
    <script type="text/javascript">
        function B()
        {
            location.href='three.html';
        }
        function doforward()
        {
            history.forward();
        }
        function doBack()
        {
            history.back();
        }
        function reloads(){
            location.reload();
        }
    </script>
</html>
